package base_demo.demo7;

public class Demo {
    public static void main(String[] args) throws InterruptedException {
        //插入线程
        MyThread t = new MyThread();
        t.setName("你");
        t.start();
        //插入到该线程执行完成后,另一个线程之前
        t.join();

        for (int i = 0; i < 10; i++) {
            System.out.println("我@" + i);
        }
    }
}
